package com.guide.spzx.manager;

import com.guide.spzx.common.log.annotation.EnableLogAspect;
import com.guide.spzx.manager.properties.MinioProperties;
import com.guide.spzx.manager.properties.UserAuthProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Auther: fengyj
 * @Date: 2023/10/29
 * @Description: IntelliJ IDEA
 * @version:
 */

@SpringBootApplication
@ComponentScan(basePackages = {"com.guide.spzx"})
@EnableConfigurationProperties(value = {UserAuthProperties.class, MinioProperties.class})
@EnableScheduling
@EnableLogAspect
public class ManagerAppliction {
    public static void main(String[] args) {
        SpringApplication.run(ManagerAppliction.class,args);
    }
}
